package com.LeetCode.DFS;

public class TreeNode {
    int val;
    TreeNode left;
    TreeNode right;
    TreeNode(int x) { val = x; }

    public static void outTree(TreeNode root){
        if(root == null) return;
        outTree(root.left);
        System.out.print(root.val);
        outTree(root.right);
    }
}
